﻿@model GSLMS.Entity.TB_SYS_PRODUCT

@{
    ViewBag.Title = "";
    var systemIDList=ViewData["Systemlist"] as SelectList;
    var iseffStatus=ViewData["IsEffStatus"] as SelectList;
    var intCycleList=ViewData["IntCycleList"] as SelectList;
    var parm1list = ViewData["parm1list"] as SelectList;
    var parm2list = ViewData["parm2list"] as SelectList;
    var metinfosetList = ViewData["MetInfoSetList"] as SelectList;

    var salesRptList = ViewData["salesRptList"] as SelectList;

    var riskRptList = ViewData["riskRptList"] as SelectList;
    
}
<div class="pageContent">
    <form method="post" action="System/Product/Create?OpID=@ViewData["OperateID"]" class="pageForm required-validate"
    onsubmit="return validateCallback(this, dialogAjaxDone);">
    @Html.ValidationSummary(true)
    <div class="pageFormContent" layouth="56">
        @Html.HiddenFor(model => model.ID)
        <p>
            <label>
                产品编号：</label>
            @Html.TextBoxFor(model => model.PRODUCTNO, new { @class = "required" })
             @Html.ValidationMessageFor(model => model.PRODUCTNO)
        </p>
        <p>
          <label>
                产品名称：</label>
            @Html.TextBoxFor(model => model.PRODUCTNAME, new { @class = "required" })
             @Html.ValidationMessageFor(model => model.PRODUCTNAME)
        </p>
        <p>
          <label>
                结息周期：</label>
            @Html.DropDownList("INTCYCLE", intCycleList, new { @class = "combox", @selectedvalue = Model.INTCYCLE })
        </p>
        <p>
          <label>
                贷款利率：</label>
            @Html.TextBoxFor(model => model.RATE)%
        </p>
        <p>
          <label>
                管理费率：</label>
            @Html.TextBoxFor(model => model.MANAGERATE)%
        </p>
        <p>
          <label>
                手续费率：</label>
            @Html.TextBoxFor(model => model.FEERATE)%
        </p>
        <p>
          <label>
                还款方式：</label>
          
           <select id="PAYMENT" style="width:150px;">
              <option value="1">按月还息，到期还本（提前还息）</option>
              <option value="2">按月还息，到期还本（提前还息,预收所有利息）</option>
              <option value="3">按月还息，到期还本（提前还息,预收X个月利息）</option>
              <option value="4">一次性付息</option>
              <option value="5">等本等息</option>
           </select>

        </p>
        <p>
          <label>
                立项计息参数1：</label>
            @Html.DropDownList("PARM1", parm1list, new { @class = "combox", @selectedvalue = Model.PARM1})
         </p>
        <p>
          <label>
                立项计息参数2：</label>
            @Html.DropDownList("PARM2", parm2list, new { @class = "combox", @selectedvalue = Model.PARM2 })
        </p>
        <p>
          <label>
                利息计算考虑节假日：</label>
           @Html.RadioButton("ISHOLIDAY",1)
           是
           @Html.RadioButton("ISHOLIDAY",0)
           否
        </p>
        <p>
          <label>
                对应子系统：</label>
           @Html.DropDownList("SYSTEMID", systemIDList, new { @class = "combix", @selectedvalue = Model.SYSTEMID })
         </p>
         <p>
          <label>
                项目经理报告：</label>
            @Html.DropDownList("SALESRPTID", salesRptList,GSLMS.WebAPP.HelperCommon.SelectDefaultValue, new { @class = "combix", @selectedvalue = Model.SALESRPTID })
          
         </p>
         <p>
          <label>
                风控经理报告：</label>
            @Html.DropDownList("RISKRPTID", riskRptList, GSLMS.WebAPP.HelperCommon.SelectDefaultValue, new { @class = "combix", @selectedvalue = Model.RISKRPTID })
         </p>
         <p>
          <label>
                材料清单：</label>
            @Html.DropDownList("METINFOSETID", metinfosetList, GSLMS.WebAPP.HelperCommon.SelectDefaultValue, new { @class = "combix", @selectedvalue = Model.METINFOSETID })
         </p>
         <p>
          <label>
                生效状态：</label>
                @Html.RadioButton("STATUS", 1)
           有效
           @Html.RadioButton("STATUS", 0)
           无效
           
         </p>
         <p>
          <label>
                产品说明：</label>
            @Html.TextBoxFor(model => model.REMARK)
         </p>
         <p>
          <label>
                创建人：</label>
            @Html.TextBoxFor(model => model.CREATEBY, new { @readonly = "true" })
         </p>
         <p>
          <label>
                创建时间：</label>
            @Html.TextBoxFor(model => model.CREATEDATE, new { @readonly = "true", @dateFmt = "yyyy-MM-dd HH:mm:ss" })
         </p>
         <p>
          <label>
                修改人：</label>
            @Html.TextBoxFor(model => model.MODIFYBY, new { @readonly = "true" })
         </p>
         <p>
          <label>
                修改时间：</label>
            @Html.TextBoxFor(model => model.MODIFYDATE, new { @readonly = "true", @dateFmt = "yyyy-MM-dd HH:mm:ss" })
         </p>
       
    </div>
    @Html.Partial("FormButtonBar")
    </form>

</div>

